using System;
using System.Collections.Generic;
using System.Text;

namespace IGlobalist.Cms.Model
{
    [Serializable]
    public class Video: CmsObject, IVideo
    {
        #region IVideo Member
      
        public string FileName
        {
            get
            {
                 return (string)GetExtPropertyValue("FileName");
            }
            set
            {
                SetExtPropertyValue("FileName", value);
            }
        }

        public long CategoryID
        {
            get
            {
                return Convert.ToInt64(GetExtPropertyValue("CategoryID"));
            }
            set
            {
                SetExtPropertyValue("CategoryID", value);

            }
        }

        public bool Sharing
        {
            get
            {
                 return Convert.ToBoolean(GetExtPropertyValue("Sharing"));
            }
            set
            {
                SetExtPropertyValue("Sharing", value);
            }
        }

        public long Views
        {
            get
            {
                return Convert.ToInt64(GetExtPropertyValue("Views"));
            }
            set
            {
                SetExtPropertyValue("Views", value);
            }
        }

         public string Thumbnail
        {
            get
            {
                 return (string)GetExtPropertyValue("Thumbnail");
            }
            set
            {
                SetExtPropertyValue("Thumbnail", value);
            }
        }
        public int Rates
        {
            get
            {
                return Convert.ToInt32(GetExtPropertyValue("Rates"));
            }
            set
            {
                SetExtPropertyValue("Rates", value);
            }
        }

        private ContentNoteList _NoteList = new ContentNoteList();
        public ContentNoteList NoteList
        {
            get
            {
                return _NoteList;
            }
            set
            {
                _NoteList = value;
            }
        }

        #endregion
    }

   
}
